Optimal. Leaf size=107 \[ -\frac {\left (-\frac {e (a e+c d x)}{c d^2-a e^2}\right )^{-p} (d+e x)^{-2 p} \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^p \, _2F_1\left (-p,-p;1-p;\frac {c d (d+e x)}{c d^2-a e^2}\right )}{e p} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 107, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 39, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.103, Rules used = {693, 691, 72,
71} \begin {gather*} -\frac {(d+e x)^{-2 p} \left (-\frac {e (a e+c d x)}{c d^2-a e^2}\right )^{-p} \left (x \left (a e^2+c d^2\right )+a d e+c d e x^2\right )^p \, _2F_1\left (-p,-p;1-p;\frac {c d (d+e x)}{c d^2-a e^2}\right )}{e p} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 71
Rule 72
Rule 691
Rule 693
Rubi steps
\begin {align*} \int (d+e x)^{-1-2 p} \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^p \, dx &=\frac {\left ((d+e x)^{-2 p} \left (1+\frac {e x}{d}\right )^{2 p}\right ) \int \left (1+\frac {e x}{d}\right )^{-1-2 p} \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^p \, dx}{d}\\ &=\frac {\left (\left (a d e+c d^2 x\right )^{-p} (d+e x)^{-2 p} \left (1+\frac {e x}{d}\right )^p \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^p\right ) \int \left (a d e+c d^2 x\right )^p \left (1+\frac {e x}{d}\right )^{-1-p} \, dx}{d}\\ &=\frac {\left (\left (\frac {e \left (a d e+c d^2 x\right )}{d \left (-c d^2+a e^2\right )}\right )^{-p} (d+e x)^{-2 p} \left (1+\frac {e x}{d}\right )^p \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^p\right ) \int \left (1+\frac {e x}{d}\right )^{-1-p} \left (-\frac {a e^2}{c d^2-a e^2}-\frac {c d e x}{c d^2-a e^2}\right )^p \, dx}{d}\\ &=-\frac {\left (-\frac {e (a e+c d x)}{c d^2-a e^2}\right )^{-p} (d+e x)^{-2 p} \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^p \, _2F_1\left (-p,-p;1-p;\frac {c d (d+e x)}{c d^2-a e^2}\right )}{e p}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 95, normalized size = 0.89 \begin {gather*} -\frac {\left (\frac {e (a e+c d x)}{-c d^2+a e^2}\right )^{-p} (d+e x)^{-2 p} ((a e+c d x) (d+e x))^p \, _2F_1\left (-p,-p;1-p;\frac {c d (d+e x)}{c d^2-a e^2}\right )}{e p} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.42, size = 0, normalized size = 0.00 \[\int \left (e x +d \right )^{-1-2 p} \left (a d e +\left (e^{2} a +c \,d^{2}\right ) x +c d e \,x^{2}\right )^{p}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (c\,d\,e\,x^2+\left (c\,d^2+a\,e^2\right )\,x+a\,d\,e\right )}^p}{{\left (d+e\,x\right )}^{2\,p+1}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________